package com.qidian.mes.sys.service.impl;

import com.qidian.mes.sys.mapper.DictMapper;
import com.qidian.mes.sys.service.DictService;
import com.qidian.mes.util.pojo.MESResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author 53邹李萍
 * @Company 起点编程
 * @Time 2023/10/24 18:41
 * @Description
 */
@Service
@Transactional
public class DictServiceImpl implements DictService {
    @Autowired
    private DictMapper dictMapper;
    @Override
    public MESResult get(Long dictId) {
        System.out.println("==========================="+dictMapper.get(dictId).getDictModifyTime());
        return MESResult.ok(dictMapper.get(dictId));
    }
}
